﻿using System.ComponentModel;

namespace FMStudio.Documents
{
    /// <summary>
    /// The interface of document.
    /// </summary>
    public interface IDocument : INotifyPropertyChanged
    {
        /// <summary>
        /// Gets or sets the file path of this document.
        /// </summary>
        string FilePath { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether this document is modified.
        /// </summary>
        bool IsModified { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether force save this document, no matter is modified.
        /// </summary>
        bool ForceSave { get; }
    }
}
